GXGetStyleCurveError
You can use theGXGetStyleCurveError
function to determine the curve error of a style object.
Fixed GXGetStyleCurveError(gxStyle source);
source
- A reference to the style object whose curve error you want to determine.
- function result
- The curve error of the source style object.
DESCRIPTION
When a path shape has a curve error of 0, QuickDraw GX does not approximate the path shape with a polygon shape when converting it to a polygon. Instead, QuickDraw GX simply removes off-curve control points, as shown in "Using Curve Error When Converting Paths to Polygons" on page 3-45.ERRORS, WARNINGS, AND NOTICES
Errors out_of_memory style_is_nil SEE ALSO
For a discussion of curve error, see "Curve Error" on page 3-14.For examples of using curve error, see "Using Curve Error When Converting Paths to Polygons" on page 3-45 and "Using Curve Error When Reducing Shapes" on page 3-49.
To change the curve error of a style object, use the
GXSetStyleCurveError
function, which is described in the next section.To examine the curve error of a style object associated with a particular shape, use the
GXGetShapeCurveError
function, which is described on page 3-117. To change the curve error of a style object associated with a particular shape, use theGXSetShapeCurveError
function, which is described on page 3-118.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help